package com.dropdb.demo.service;

import com.dropdb.demo.bean.Storage;
import com.dropdb.demo.bean.bo.BaseData;
import org.springframework.web.multipart.MultipartFile;

public interface StorageService {
    Storage insertStorageFile(MultipartFile file, String key, String url);

    BaseData<Storage> list(Integer page, Integer limit, String key, String name, String sort, String order);

    Storage update(Storage storage);

    int delete(Storage storage);
}